package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 会话表
 * </p>
 *
 * @author chengtaoxie
 * @since 2023-10-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Session implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 提问
     */
    private String contexts;

    private Integer userId;

    /**
     * 回答
     */
    private String answer;


}
